﻿@model Webmedia.Tour.WMTour.Models.RegisterViewModel
@{
    ViewBag.Title = "Đăng ký";
    Layout = "~/Views/Shared/_RegisterLayout.cshtml";
}

@using (Html.BeginForm("Register", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
   
   <div class="container-fluid container-main">
        <section id="content">
            <!-- Begin Content -->

            <div class="row-fluid">
                <div id="system-message-container">
                </div>
                <div class="row-fluid">

                    @Html.ValidationSummary()
                    <fieldset>

					    @Html.AntiForgeryToken()
                        <div class="control-group">
                            <div class="control-label">


                                @Html.LabelFor(model => model.Ho, new { @class = "control-label col-md-2" })

                            </div>
                            <div class="controls">
                                @Html.TextBoxFor(m => m.Ho)
                                @Html.ValidationMessageFor(model => model.Ho)
                            </div><!--end content control-->
                        </div><!--end form control-->
                        <div class="control-group">
                            <div class="control-label">


                                @Html.LabelFor(model => model.Ten, new { @class = "control-label col-md-2" })

                            </div>
                            <div class="controls">
                                @Html.TextBoxFor(m => m.Ten)
                                @Html.ValidationMessageFor(model => model.Ten)
                            </div><!--end content control-->
                        </div><!--end form control-->
                        <div class="control-group">
                            <div class="control-label">
                                @Html.LabelFor(model => model.NhomID, new { @class = "control-label col-md-2" })
                            </div>
                            <div class="controls">
                               @Html.DropDownList("NhomID")
                            </div><!--end content control-->
                        </div><!--end form control-->

                        <div class="control-group">
                            <div class="control-label">


                                @Html.LabelFor(model => model.GioiTinh, new { @class = "control-label col-md-2" })

                            </div>
                            <div class="controls">
                                @Html.RadioButtonFor(m => m.GioiTinh,true) Nam
                                @Html.RadioButtonFor(m => m.GioiTinh, false) Nữ
                                @Html.ValidationMessageFor(model => model.GioiTinh)
                            </div><!--end content control-->
                        </div><!--end form control-->
                        <div class="control-group">
                            <div class="control-label">


                                @Html.LabelFor(model => model.Email, new { @class = "control-label col-md-2" })

                            </div>
                            <div class="controls">
                                @Html.TextBoxFor(m => m.Email)
                                @Html.ValidationMessageFor(model => model.Email)
                            </div><!--end content control-->
                        </div><!--end form control-->
                        <div class="control-group">
                            <div class="control-label">


                                @Html.LabelFor(model => model.SoDienThoai, new { @class = "control-label col-md-2" })

                            </div>
                            <div class="controls">
                                @Html.TextBoxFor(m => m.SoDienThoai)
                                @Html.ValidationMessageFor(model => model.SoDienThoai)
                            </div><!--end content control-->
                        </div><!--end form control-->
                        <div class="control-group">
                            <div class="control-label">


                                @Html.LabelFor(model => model.DiaChi, new { @class = "control-label col-md-2" })

                            </div>
                            <div class="controls">
                                @Html.TextBoxFor(m => m.DiaChi)
                                @Html.ValidationMessageFor(model => model.DiaChi)
                            </div><!--end content control-->
                        </div><!--end form control-->
        <div class="control-group">
		<div class="control-label">
	
           
			@Html.LabelFor(model => model.UserName, new { @class = "control-label col-md-2" })
		
		</div>
           <div class="controls">
                @Html.TextBoxFor(m=>m.UserName)
                @Html.ValidationMessageFor(model => model.UserName)
            </div><!--end content control-->
        </div><!--end form control-->

        <div class="control-group">
		<div class="control-label">
            @Html.LabelFor(model => model.Password, new { @class = "control-label col-md-2" })
		
		</div>
           <div class="controls">
                @Html.PasswordFor(model => model.Password)
                @Html.ValidationMessageFor(model => model.Password)
            </div><!--end content control-->
        </div><!--end form control-->
                        <div class="control-group">
                            <div class="control-label">
                                @Html.LabelFor(model => model.ConfirmPassword, new { @class = "control-label col-md-2" })

                            </div>
                            <div class="controls">
                                @Html.PasswordFor(model => model.ConfirmPassword)
                                @Html.ValidationMessageFor(model => model.ConfirmPassword)
                            </div><!--end content control-->
                        </div><!--end form control-->

                        <div class="control-group">
                            <div class="control-label">
                            </div>
                            <div class="controls">
                               <input type="submit" class="btn btn-default" value="Register" />
                            </div><!--end content control-->
                        </div><!--end form control-->

	 </fieldset>	
    </div>

 </div>
            <!-- End Content -->
        </section>

    </div>
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
